package com.summer.http.exception;

public class ConversionTypeException extends RuntimeException  {

    /**  */
	private static final long serialVersionUID = 1L;
	
	private TypeError error;

    public ConversionTypeException(TypeError error) {
        super(error.getString());
        this.error = error;
    }


    public TypeError getPayError() {
        return error;
    }
}